package com.example.entity.activiti;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.activiti.engine.task.DelegationState;

import java.io.Serializable;
import java.util.Date;

@Data
@Api(tags = "审批任务视图")
public class ApprovalVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("进程实例Id")
    private String processInstanceId;
    @ApiModelProperty("进程定义Id")
    private String processDefinitionId;
    @ApiModelProperty("执行Id")
    private String executionId;
    @ApiModelProperty("申请人")
    private String applicant;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("任务id")
    private String taskid;
    @ApiModelProperty("任务名称")
    private String taskname;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("受让人")
    private String assignee;
    @ApiModelProperty(" 区分销售采购 coptc,purtc")
    private String formKey;
    @ApiModelProperty("单别")
    private String tc001;
    @ApiModelProperty("单号")
    private String tc002;
    @ApiModelProperty("优先级")
    private Integer priority;
    @ApiModelProperty("审核人")
    private String owner;
    @ApiModelProperty("流程状态")
    private DelegationState delegationState;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("任务定义键")
    private String taskDefinitionKey;
    @ApiModelProperty("到期日期")
    private Date dueDate;
    @ApiModelProperty("类别")
    private String category;
    @ApiModelProperty("父子Id")
    private String parentTaskId;
    @ApiModelProperty("承让者Id")
    private String tenantId;
}
